<%@page pageEncoding="UTF-8" contentType="text/html; UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>X+培训机构约课系统 - 登录</title>
    <meta name="keywords" content="X+约课平台,在线约课,后台手动约课,课程管理,老师管理,排课计划,群发短信">
    <meta name="description" content="X+乐约课是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">
    <base href="${pageContext.request.contextPath}/static/"/>

    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">

    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">

    <link href="css/login.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
</head>

<body class="gray-bg signin">

    <div class="middle-box text-center loginscreen  animated fadeInDown">
        <div>
            <div>

                <h1 class="logo-name" style="font-size: 36px;letter-spacing: 1px;">乐约课系统</h1>

            </div>
            <h3>欢迎使用 X+乐约课平台</h3>

            <form class="m-t form-horizontal" role="form" action="${pageContext.request.contextPath}/user/login" method="POST">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="用户名" name="name" required="true" style="color:black">
                    <c:if test="${not empty USER_NOT_EXIST}">
                        <span class="text-danger">${USER_NOT_EXIST}</span>
                    </c:if>

                </div>
                <div class="form-group">
                    <input type="password" class="form-control" placeholder="密码" name="pwd" required="true" style="color:black">
                    <c:if test="${not empty PWD_ERROR}">
                        <span class="text-danger">${PWD_ERROR}</span>
                    </c:if>
                </div>

                <div class="form-group">
                    <input type="text" class="form-control" placeholder="验证码" name="checkcode" required="true" style="width:200px;color:black">
                </div>

                <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>
                <p class="text-muted text-center"> <a href="login.jsp#"><small>忘记密码了？</small></a> | <a href="${pageContext.request.contextPath}/user/toRegister">注册一个新账号</a>
                </p>

            </form>
        </div>
    </div>

    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>

</body>

</html>
